package com.iraeta.entity.xiangmu;

import java.io.Serializable;

/**
 * gys
 * @author 
 */
public class Gys implements Serializable {
    /**
     * id
     */
    private Integer id;

    /**
     * 项目Id
     */
    private Integer xmid;

    /**
     * 供应商名称
     */
    private String name;

    /**
     * 供应商资质
     */
    private String descption;

    /**
     * 价格
     */
    private String jiage;

    /**
     * 云上价格
     */
    private String jiagenet;

    /**
     * 服务明细
     */
    private String fuwudesc;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getXmid() {
        return xmid;
    }

    public void setXmid(Integer xmid) {
        this.xmid = xmid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescption() {
        return descption;
    }

    public void setDescption(String descption) {
        this.descption = descption;
    }

    public String getJiage() {
        return jiage;
    }

    public void setJiage(String jiage) {
        this.jiage = jiage;
    }

    public String getJiagenet() {
        return jiagenet;
    }

    public void setJiagenet(String jiagenet) {
        this.jiagenet = jiagenet;
    }

    public String getFuwudesc() {
        return fuwudesc;
    }

    public void setFuwudesc(String fuwudesc) {
        this.fuwudesc = fuwudesc;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Gys other = (Gys) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getXmid() == null ? other.getXmid() == null : this.getXmid().equals(other.getXmid()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getDescption() == null ? other.getDescption() == null : this.getDescption().equals(other.getDescption()))
            && (this.getJiage() == null ? other.getJiage() == null : this.getJiage().equals(other.getJiage()))
            && (this.getJiagenet() == null ? other.getJiagenet() == null : this.getJiagenet().equals(other.getJiagenet()))
            && (this.getFuwudesc() == null ? other.getFuwudesc() == null : this.getFuwudesc().equals(other.getFuwudesc()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getXmid() == null) ? 0 : getXmid().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getDescption() == null) ? 0 : getDescption().hashCode());
        result = prime * result + ((getJiage() == null) ? 0 : getJiage().hashCode());
        result = prime * result + ((getJiagenet() == null) ? 0 : getJiagenet().hashCode());
        result = prime * result + ((getFuwudesc() == null) ? 0 : getFuwudesc().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", xmid=").append(xmid);
        sb.append(", name=").append(name);
        sb.append(", descption=").append(descption);
        sb.append(", jiage=").append(jiage);
        sb.append(", jiagenet=").append(jiagenet);
        sb.append(", fuwudesc=").append(fuwudesc);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}